fullpath for command, put logfile to script dir