adding steps to apply script