modified this to work on my server