Run before methods for cli shortcuts