Removed testing code. Added writer commands.