%auto

attach will run all the code in your file, every time the file changes, so the functions in the file will be available from the worksheet.