sync Execution implemented; funtionlized excution

using Shelljs