Fix for https://github.com/TeamMentor/Master/issues/865

Also removing file from publish folder