fix(scripts): adding else rule for sync type