Copy upload script form from original haml