adjusting init.d to run from pwd too