move the static parts into dir to make auto-push easier