Add lcd function to cd and then list