modify for clockwork
add clockwork script