prepration script