Increase max cpu time limit up to 15s. And use bin/check script to check input source