updated with .jar and using environment variables for credentials