Problem with Start Gcode

I want to use a custom start code. I pasted it in the Start code option from astroprint but whatever i do i cant get the printer to do it before printing. it just does the auto home and then starts printing. here the code i used:

G1 Z9 F500 
G1 X180 F5000 
G1 Y10 F3000
G1 X240 F4000 
G1 X180 F4000
G1 X240 F4000
G1 X180 F4000
G1 X240 F4000
G1 X180 F4000
G1 X240 F4000
G1 X180 F4000
G1 Y25 F3000 
G1 X210 F4000
G1 Y0 F3000
G1 Y25 F3000
G1 X225 F4000
G1 Y0 F3000
G1 X210 F4000
G1 Y25 F3000

the code should move the nozzle trough a brush to get rid of any oozing before the print.

The code seems fine. Where are you entering it?