change init cap task to support the sh file