Revert "fixed program filepath to work with config file"

This reverts commit 42d6d21a83cb9c6abd6d0aa324047711caab4fd0, reversing
changes made to c68310dbcab82638d32b0eb97b3ab4dee555b959.
Revert "Fixed some bugs"

This reverts commit c68310dbcab82638d32b0eb97b3ab4dee555b959.