add support for calling from other working directorys, (like cronjobs)