port the plugin page script to heroku