modified the vm.args and db_op fuctions