minor enhancemends on rktask script to make it more usefull on other environments