hacked to work on aws