2/4 stages
All stages are moved to shell scripts