changes in main script