added support for PORT env variable