initialising scripts