Creating a real command line application from the PHP script.