Running commands in Background and tracking logs