More Linux compatibility and path fix

Makes sure we don't load files that don't exist and fixes a missing $PATH.