added the built script to avoid having to do it on the server - for production it'd be wiser for this script to be created as part of a build process