Updating composer to use environment variables and proper params