Add construct function to use custom command on extends fwk