Enviromental variables

Support for environmental variables for the API host and port. Updated linux copy and paste scripts.