Adding the main script