Replace executables with thor tasks