adjust console output; tested exec function