Cleaning up a hardcoded path and the flags.