Extended the rose build script