adding main script