updated write_shortcuts and install_ohicore to handle OS-dependant shortcuts