outputs command only with -d (debug) flag, added option to change the location to top