Environment script loader