Simple API done
Move to script