Solved double-free bug and implemented internal launch with arguments