Moved that status function to the status command file