Updates to functional of rc.local fail script, fixes #3