Revert "fixed many minor issues specific to linux server"

This reverts commit 75413969b325e57ff5803868dd4e46327123dd4d.

Looking into unknown issue that prevents the app from running and causes an endless loop when using enable: run
Revert "quick fix for H2s"

This reverts commit 8fe4eeb3d17a376ef223086fd039876594606ca1.

Looking into issue created by modifying files for linux server