Fix for starting on bootup

Issue #264