Start using export variable in .myrc and clean up duplicated varibales in scripts