added customization
added pg and rails12