updated to fit AWS condition
Merge pull request #1 from morninng/separate_DevPro

updated to fit AWS condition