startup scripts and other tomfoolery