This script works only in root directory. We might need it to work on out of root variant as well but