REIMPLEMENTED ERROR HANDLING. Also refactored Step 1 of the program request submission process