before auto deploy script