TSPHP-608 extract set up in build files and put in separate file - fixed the wrong delete task