function for shifts deploy