Changed script to run on agnostic hosts

Changed to localhost so script more agnostic where its hosted (server side)