Start / End GCodes missing from sliced gcode


Ive created a profile for my Ultimaker 2 printer and included start and end gcode. I then used that printer in the settings for slicing. When I went to print it seems that the custom start / end codes were not part of the sliced file. I have also tried to use this through the astroprint interface to send the job and the printer did not act like it was given those gcodes either. Am I doing something wrong / missing something? Does anyone have experience getting Astroprint to play well with the Ultimaker 2 printer?