Fixed python settings for connection remotely