import modified version of code from VDC instance rc.local