Implemented script loader