modify for amazon linux