added mkdir -p to create repo in case it is not present