Revert "Simplified MY_DIR var setting"

This reverts commit d31c083a5f0518f947a4ca730e2e30c20f1bfd93.