inputdir defaults as full current path