Allowed use of os.loadAPI with start and stop functions and removed error line numbers