fixed scripts
added pos population script
Added sql files