Added code to change the name of the process. Fixed typo and fixed calling to main method