added protocol to script loader