Move dasply into stand-alone function and create DASPLY object over there, doing this way we reduce overhead with spawn