added path so their is no need to specify them always again on an exec command
fixed some bugs