Changed the main function return value to 1 from 0.