added dependencies
fixed runonce