Fix rc.local to work with custom folder