Added localdelete to optional_commands for forcelocal support