script working, alpha version