Adding slap script and fixing the plugins so reloading doesn't reload cached code.