Added finish command
Added finish command