placing script in main dir