revamped flask script commands
basic work on new extension system