Writing the Lanydza script