set up crossplatform script