Modified Kitty's submission script