Changed the code for running catlite