I'm thinking of making this more configurable/modular: why not having a file containing commands and then call them in a global way?