attempting to seperate compile and stage tasks