change relative path to absolute path when sourcing env