make rc.local pure python