BAC-1176: run image upload after creating tables and remove moveMain scr...

Backport #2421

@Wikia/platform-team