added script to trim file name after automatic build