fixing command line script entry point