smoother commandline flags added