Import the plugins, fix the shebangs and routes