Fixed bugs in rxstacks scripts