So, your script may now look like this:
The easiest way to find the script for this, is to create a profile or pocket operation, do "Post Process" and copy and paste the script for these, from the Program window.
You can see from the g-code, there is no tool change, feedrate, or spindle speed command output.
When you do "Post Process" you will see the toolpath.
Click "OK" to add the script operation.
You can add your script in the "script" box, like this:
tool_change( id=1) # where 1 is the tool number