adding the main script