LIVEOAK-556

Remove the scheduled and endpoint scripts from the main script module. Moved the scheduled script to its own module.