remove CURDIRPATH etc, bugfix SAVETOHERE_DIR