script is now using port from config