added powerline and fixed common.sh to work with filenames with spaces