Save this file to ~/Library/LaunchAgents. Then, to load the script (and start it automatically):
launchctl load ~/Library/LaunchAgents/org.ocks.bl.localhost.plist