running without attached terminal
fix loading from different path