moved main script