renames main function to match what is needed on vps