Initial commit - only handles "flash2" package type, multiple simultaneous invocations will mess stuff up, only tested lightly on windowns.