fixed scripts access mistake