runningg code without being connected to a laptop

Hello there

I am having troubles getting code to run on the open MV when connected to the raspberry pi how would I get the code to run by itself and not connected to a computer but without the code running on the pi.

Save your code as, make sure to safely remove (eject) the drive and it should run on the next boot.