added the main script