added pg and rails