Fix script operation and add a custom datetime parser for speed's sake