added support for conf file in init script
added support for conf file in init script