added run fixes
added postgres install and custom profiles
added postgres script