Set modules_dir appropriately, don't use pwd