Modified init file for running in pipeline