init.d support added