updated implementation to allow for linux deployments