derp ... basedir \!exist dirname is inended command