*adapted for linux hosting